package ACC;

import java.io.File;

public class Wenjian1 {
    public static void main(String[] args) {
        File f = new File("D:\\new.txt");
        if (f.delete()) {
            System.out.println("成功");
        }else {
            System.out.println("失败");
        }
    }
}
